<?php
$this->pageTitle = Yii::app()->name . ' - Forgot Password';
$this->breadcrumbs = array(
    'Forgot Password',
);

CHtml::$errorContainerTag = 'span';
?>
<div class="sub-page">
    <h2>Forgot your password</h2>
    <div class="all-product">
        <?php if($forgotModel->getError('email')) :?>
            <span class="red-text">
                <img src="<?php echo Yii::app()->request->baseUrl ?>/data/images/warning.png" width="16"height="16"> &nbsp;
                <?php echo $forgotModel->getError('email');?>
            </span>
        <?php endif;?>
       <?php if($forgotModel->getError('success')) :?>
            <span style="color: #0b9a00">
                <?php echo $forgotModel->getError('success');?>
            </span>
        <?php endif;?>
        <?php $form = $this->beginWidget('CActiveForm',     array(
            'id' => 'forgot-form',
            'enableAjaxValidation' => false,
        )); ?>
        <div class="contact">
            <div class="ct-title">Returning Customers: Please Input Email</div>
            <div class="form-style marT20">
                <p>
                    <?php echo $form->labelEx($forgotModel, 'email'); ?>
                    <?php echo $form->textField($forgotModel, 'email', array('class' => $class)); ?>
                </p>
                <p>
                    <label>&nbsp;</label>
                    <?php echo CHtml::submitButton('Forgot', array('class' => 'red-button')); ?>
                </p>
            </div>
        </div>
        <?php $this->endWidget(); ?>
    </div>
</div><!-- form -->
